// Automatically populates similar elements across pages for easy re-use
function pop() {
document.getElementById('header').innerHTML = "<table><tr><td><h1><a href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/'>ePortfolio for COP 4813/COP 5819: Internet Programming</a></h1></td></tr><tr><td><h3>Paul Matthews</h3><div class='contact-wrapper'><a href='mailto:matthewspaulc@gmail.com'><div class='mailme'></div></a><a href='//plus.google.com/111430808519661133327/'><div class='gplus'></div></a></div></td></tr></table><hr />";
document.getElementById('main-nav').innerHTML = "<ul id='nav-list'><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/assign1/index.html'>Assignment 1</a></li><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/assign2/index.html'>Assignment 2</a></li><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/assign3/index.html'>Assignment 3</a></li><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/stub.html'>Assignment 4</a></li><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/stub.html'>Assignment 5</a></li><li><a class='nav-ass' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/stub.html'>Assignment 6</a></li></ul>";
document.getElementById('footer').innerHTML = "<p>Copyright \u00A9 2013 | Paul Matthews</p>";
}

function returnNav(main) {
var returnNav = document.createElement('p');
returnNav.innerHTML = "Please click <a class='glowLink' href='http://cop4813.ccec.unf.edu/~n00659426/cop4813/'>here</a> to return to the main page.";
main.appendChild(returnNav);
}

function noNav() {
document.getElementById('main-nav').innerHTML = "";
}
